/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
body {
  font-family: "Microsoft YaHei";
  font-size: 100%;
}

.logo {
  width: 150px;
  height: 150px;
  background-color: #1594e5;
  color: #ffab19;
  font-size: 34px;
  font-weight: bold;
  padding: 5px;
  margin: 40px auto;
  text-align: center;
  line-height: 50px;
  text-shadow: 0px 0px 10px #fff, 0px 0px 20px #fff, 0px 0px 40px #9dd;
}

/**这种方式编译到样式中以后并不能被Modernizr所产成的命名空间所管理，bad**/
@mixin mixin_mg_right() {
  margin-right: calc(100% - 900px);
  margin-right: 3%;
}

body {
  @include mixin_mg_right();
}

/**使用继承的方式来管理。good**/
.csscalc .mg-right {
  margin-right: calc(100% - 900px);
}

.no-csscalc .mg-right {
  margin-right: 3%;
}

body {
  @extend .mg-right;
}
